# -*- coding: utf-8 -*-
from Tkinter import*
class App:
	def __init__(self,master):
		frame = Frame(master);frame.pack()
		self.button = Button(
			frame,text="SALIR", fg = "red" , command= 
				frame.quit
			)
		self.button.pack(side=LEFT)
		self.hi_there = Button(frame, text="HOLE", command = self.say_hi)
		self.txau = Button(frame, text="txau", command = self.say_txau)
		self.hi_there.pack(side=LEFT)
		self.txau.pack(side=LEFT)
	def say_hi(self):
		print "hey, Caramba..!"
	def say_txau(self):
		print "txau"
root= Tk() 
app = App(root)
root.mainloop()
root.destroy()
